Skip to main content

Total

Total[list] gives the total of the elements in list. 

Total[list,n] totals all elements down to level n.

Total[list,{n}] totals elements at level n.

Total[list,{n1,n2}] totals elements at levels n1 through n2.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.